-- marmite
-- created by panyl
-- 地牢格子：砂锅

return {
    autoFight = function(grid)
        local pos = grid:getPos();
        if DungeonInstanceM.isInInstance()
            and DungeonM.isAllMonsterDead() then
            return DungeonActionM.go("take_instance_bonus", pos);
        end
        return false;
    end,
};
